//
//  SynDetailsSixthCell.m
//  XDBaseFrameWork
//
//  Created by XD-XY on 10/25/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import "SynDetailsSixthCell.h"

@implementation SynDetailsSixthCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        [self makeViews];
    }
    return self;
}

-(void)makeViews
{
    self.upline = [UIImageView initImageViewRect:CGRectMake(0,0, UI_SCREEN_WIDTH-0, 0.5) andImage:LOADIMAGE(@"xuxian_short@2x") andUserInteractionEnabled:YES];
    [self.contentView addSubview:_upline];
    
    self.downline = [UIImageView initImageViewRect:CGRectMake(0,39.5, UI_SCREEN_WIDTH-0, 0.5) andImage:LOADIMAGE(@"xuxian_short@2x") andUserInteractionEnabled:YES];
    [self.contentView addSubview:_downline];
    
    UILabel * nameLb = [UILabel initLabelText:@"规格" andRect:CGRectMake(10,0,100,40) andBackGroudColor:mClearColor andTextFont:[UIFont systemFontOfSize:15] andTextColor:UIColorFromRGB(0x626262) andTextAlignment:NSTextAlignmentLeft];
    [self.contentView addSubview:nameLb];
    
    self.zaoxinLB = [UILabel initLabelText:@"" andRect:CGRectMake(50,0,100,40) andBackGroudColor:mClearColor andTextFont:[UIFont systemFontOfSize:13] andTextColor:UIColorFromRGB(0x929292) andTextAlignment:NSTextAlignmentLeft];
    [self.contentView addSubview:_zaoxinLB];
    
    self.xianceLB = [UILabel initLabelText:@"" andRect:CGRectMake(110,0,100,40) andBackGroudColor:mClearColor andTextFont:[UIFont systemFontOfSize:13] andTextColor:UIColorFromRGB(0x929292) andTextAlignment:NSTextAlignmentLeft];
    [self.contentView addSubview:_xianceLB];
    
    UIImageView * arrowIV = [UIImageView initImageViewRect:CGRectMake(UI_SCREEN_WIDTH-15-7, 29/2.0f, 7, 11) andImage:LOADIMAGE(@"arrow_cell@2x") andUserInteractionEnabled:YES];
    [self.contentView addSubview:arrowIV];
    
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
